﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="TallyEmail.aspx.cs" Inherits="EWMSWeb.Hardware.TallyEmail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <script type="text/javascript" src="/jquery/jquery.dataTables.js"></script>
      <script type="text/javascript" src="/js/jquery.tagsinput.js"></script>
      <link rel="stylesheet" type="text/css" href="/css/jquery.tagsinput.css" />
      <script type="text/javascript" src="/JS/Hard/outcontrol.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">

   
<h2>物料去向</h2>
<br />
 <table id="tabreord"    style="width:100%;display:none;">
 
      <tbody>
       <tr  style="text-align:center;">
        <td style="width:15%; height:25px; text-align: left; font-weight:bold;">检测单号：</td>
        <td style="width:35%; text-align: left;"><label id="lblno"></label></td>
        <td style="width:15%; height:25px; text-align: left; font-weight:bold;">Load NO：</td>
        <td style="width:35%; text-align: left;"><label id="lblload"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">归属地区：</td>
        <td style="text-align: left;"><label id="lblbcity"></label></td>
        <td style="text-align: left; font-weight:bold;">处理地区：</td>
        <td style="text-align: left;"><label id="lblgcity"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">CJO NO：</td>
        <td style="width:35%; text-align: left;"><label id="lblcjo"></label></td>
        <td style="text-align: left; font-weight:bold;">CJO备注：</td>
        <td style="width:35%; text-align: left;"><label id="lblcjoremark"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">客户名称：</td>
        <td style="width:35%; text-align: left;"><label id="lblcumname"></label></td>
        <td style="text-align: left; font-weight:bold;">检测单号：</td>
        <td style="width:35%; text-align: left;"><label id="lblhardno"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">收货日期：</td>
        <td style="width:35%; text-align: left;"><label id="lblcolldate"></label></td>
        <td style="text-align: left; font-weight:bold;">来货托数：</td>
        <td style="width:35%; text-align: left;"><label id="lblcount"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">去向方式：</td>
        <td style="width:35%; text-align: left;">
            <input type="radio" name="dept" id="rdoC" />拆解
            <input type="radio" name="dept" id="rdoSale" />销售
            <input type="hidden" id="gotype" value="0" />
        </td>
       <td style="height:25px; text-align: left; font-weight:bold;">邮件正文：</td>
        <td style="width:35%; text-align: left;"  rowspan="3">
        <textarea rows="5" cols="15" class="txtEmailContent"></textarea>
         <%--  <textarea rows="2" cols="5" id="txtEmailContent" />--%>
        </td>

    </tr>
     <tr>
        <td>收件人</td>
        <td><input id='tMialMans' type='text' /></td>
        <td>抄送人</td>
        <td><input id='cMailMans' type='text' /></td>
    </tr>
    <tr>
        <td style="text-align: left; font-weight:bold;">邮件主题：</td>
       <td style="width:35%; text-align: left;">
                <input id="txtEmailTitle" />
        </td>
       <td style="height:25px; text-align: left; font-weight:bold;"></td>
        <td style="width:35%; text-align: left;">
            
            
        </td>
    </tr>
    <tr>
        <td style="text-align: left; font-weight:bold;">附件：</td>
        <td style="width:35%; text-align: left;" id="txtAttList">
        </td>
        
    </tr>
    <tr>
        <td>理货通知邮件</td>
        <td colspan="3">
        <table style="width:100%" id="TabEmailList">
            <tr>
                <th>客户名称</th>
                <th>联系人</th>
                <th>邮件地址</th>
                <th>操作</th>
            </tr>
            
        </table>
        </td>
    </tr>
    <tr>
        <td colspan="4" style="text-align:center;">
            <input id="hidHardid" type="hidden" value="0" />
            <a onclick="gocheckSubmit()" href="javascript:void(0);">出货准备</a>
           &nbsp;&nbsp;&nbsp;&nbsp;
           <a onclick="cancel()" href="javascript:void(0);">返回</a>
          
        </td>
 
    </tr>
 
    </tbody>
    </table>
  
<div class="shadow4">

    <table id="tab" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
 
      <thead>
 
        <tr>
             <th>单号</th>
             <th>检测单号</th>
             <th>归属地</th>
             <th>处理地</th>
            <th>Load</th>
            <th>CJO</th>
            <th>客户名</th>
            <th>业务员</th>
            <th>CJO备注</th>
            <th>收货日期</th>
            <th>送检日期</th>
            
            <th>托数</th>
            <th>送检备注</th>
            <th>来源</th>
            <th>附件</th>
            <th>检测备注</th>

            <th>操作</th>
        </tr>
 
      </thead>
 
      <tbody>
     
  
  <asp:Repeater ID="rept" runat="server">
  <ItemTemplate>
 
    <tr>
       <td>
           <%# Eval("hardwareno")%> 
        </td>
        <td>
            <%# Eval("initno")%>  <%# Eval("hardno")%> 
        </td>
        <td>
            <%# Eval("bcity") %> 
        </td>
        <td>
            <%# Eval("gcity") %> 
        </td>
        <td>
            <%# Eval("loadno")%>  
        </td>
        <td>
           <%# Eval("cjono")%>  
        </td>
        <td>
            <%# Eval("cumname")%>  
        </td>
         <td>
            <%# Eval("saleman")%>  
        </td>
        <td>
            <%# Eval("cjoremark")%>  
        </td>
        <td>
            <%# Eval("wrldate")%>  
        </td>
        <td>
            <%# Eval("inspectiondate")%>  
        </td>
        <td>
            <%# Eval("boxcount")%>  
        </td>
        <td>
            <%# Eval("gocheckremark")%>  
        </td>
        <td>
        </td>
        <td>
            <%# Eval("id")%>  
        </td>
        <td>
            <%# Eval("hardremark")%>  
        </td>
   
        <td>
           <a onclick="gocheck(<%#Eval("id")%>)">处理</a>
           <a onclick="goback(<%#Eval("id")%>)">退回</a>
        </td>

 
    </tr>
 
  </ItemTemplate>
    </asp:Repeater>
    </tbody>
    </table>
</div>
</asp:Content>
